#ifndef BASERESPONSE_H
#define BASERESPONSE_H

#include <QObject>
#include <QString>
#include <QJsonObject>
#include <QJsonDocument>
#include <QByteArray>
#include <QDateTime>
#include <QJsonArray>

class BaseResponse
{
public:
    virtual ~BaseResponse() = default;
    virtual bool fromJson(const QByteArray& jsonData) = 0;
    virtual bool isSuccess() const = 0;
    virtual QString getError() const = 0;

};

#endif // BASERESPONSE_H
